package com.chengliang.bbs.service.impl;

import com.chengliang.bbs.entry.JieStatus;
import com.chengliang.bbs.mapper.JieStatusMapper;
import com.chengliang.bbs.service.JieStatusService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author: chengliang
 * @create: 2019-08-12 15:36
 */
@Service
public class JieStatusServiceImpl implements JieStatusService {

    @Autowired
    private JieStatusMapper jieStatusMapper;

    @Override
    public boolean updateJieStatus(JieStatus jieStatus) {
        return jieStatusMapper.updateByPrimaryKeySelective(jieStatus)>0;
    }
}
